DeliciousBrains\WP_Offload_Media\Items\Item D

Total Complexity 300
Dependencies 6
Dependents 18
Total lines 2,186
Lines of code 1,032
Logical lines of code 576
Comment lines 757
Methods 96
Properties 29

Methods 96

Method Rating Maintainability Complexity Lines of code
__construct()
B
39 17 64
maybe_update_extra_info()
A
47 16 33
get_item_source_by_remote_url()
A
41 14 53
count_items()
A
45 15 35
save()
A
42 13 48
get_provider_url()
A
44 13 40
get_source_ids()
A
45 12 42
get_by_source_path()
A
46 10 38
served_by_provider()
A
57 10 16
create()
S
48 6 34
get_by_source_id()
S
55 6 20
add_to_object_cache()
S
56 6 18
remove_from_object_cache()
S
56 6 18
get_source_id_by_bucket_and_path()
S
53 5 25
add_to_items_cache()
S
57 5 17
remove_from_items_cache()
S
57 5 17
objects()
S
60 5 12
is_empty_item_source()
S
63 5 11
get_by_id()
S
58 4 16
get_from_items_cache_by_id()
S
59 4 15
get_from_items_cache_by_source_id()
S
59 4 15
set_is_private()
S
60 4 14
get_from_items_cache_by_bucket_and_path()
S
60 4 13
key_formats()
S
54 3 22
key_values()
S
53 3 22
get_from_object_cache()
S
59 3 15
get_new_item_prefix()
S
63 4 10
delete()
S
59 3 14
items_table()
S
59 3 14
offloaded_files()
S
62 3 12
install_table()
S
52 1 33
get_acl_for_object_key()
S
64 3 9
has_private_objects()
S
67 3 8
source_path()
S
64 3 10
path()
S
64 3 10
provider_key_for_filename()
S
64 3 10
is_private()
S
64 3 10
exists_locally()
S
68 3 8
get_missing_source_ids()
S
70 2 7
normalized_path_dir()
S
74 2 4
full_source_path_for_filename()
S
67 2 7
provider_key()
S
69 2 7
private_prefix()
S
68 2 7
provider_keys()
S
69 2 7
prefix()
S
72 2 5
summary_enabled()
S
78 2 3
get_object_cache_group()
S
66 2 8
admin_link()
S
81 1 3
get_object_key_from_filename()
S
100 1 0
get_local_url()
S
100 1 0
create_from_source_id()
S
71 1 6
get_item_time()
S
82 1 3
get_internal_prefix()
S
82 1 3
summary_type()
S
81 1 3
source_type_name()
S
81 1 3
source_type()
S
81 1 3
update_path_prefix()
S
75 1 4
formats()
S
80 1 3
item_data_for_acl_filter()
S
69 1 7
init_cache()
S
68 1 9
get_object_cache_full_key()
S
78 1 3
update_filesize_after_remove_local()
S
91 1 2
update_filesize_after_download_local()
S
91 1 2
remove_duplicate_paths()
S
82 1 3
get_object_cache_base_key()
S
75 1 4
get_item_source_array()
S
71 1 6
disable_cache()
S
80 1 3
enable_cache()
S
80 1 3
transient_key_for_item_counts()
S
78 1 3
full_source_paths()
S
100 1 0
set_objects()
S
73 1 5
set_original_path()
S
81 1 3
bucket()
S
82 1 3
set_private_prefix()
S
73 1 5
original_path()
S
82 1 3
primary_object_key()
S
81 1 3
set_path()
S
81 1 3
source_id()
S
82 1 3
set_bucket()
S
81 1 3
set_source_path()
S
81 1 3
original_source_path()
S
82 1 3
set_original_source_path()
S
81 1 3
full_source_path()
S
73 1 4
extra_info()
S
82 1 3
summary_type_name()
S
81 1 3
set_extra_info()
S
81 1 3
originator()
S
82 1 3
set_originator()
S
81 1 3
is_verified()
S
81 1 3
set_is_verified()
S
80 1 3
can_use_object_versioning()
S
81 1 3
set_region()
S
81 1 3
region()
S
82 1 3
provider()
S
82 1 3
id()
S
82 1 3
get_item_counts()
S
100 1 0